package com.lanou3g.util;

public class Result {
	
	private Integer code = 0;
	private String msg = "";
	private Long count = 0L;
	private Object data = null;
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Long getCount() {
		return count;
	}
	public void setCount(Long count) {
		this.count = count;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public Result() {
		
	}
	public Result(Integer code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}
	public Result(Integer code, String msg, Long count, Object data) {
		super();
		this.code = code;
		this.msg = msg;
		this.count = count;
		this.data = data;
	}
	@Override
	public String toString() {
		return "Result [code=" + code + ", msg=" + msg + ", count=" + count + ", data=" + data + "]";
	}
	
	

}
